package com.service.admin.order.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.service.admin.order.controller.rep.OrderHrComboDetailsRep;
import com.service.dao.model.OrderProductHrCombo;
import com.service.dao.model.OrderProductHrComboDetails;
import com.service.dao.model.ProductHrCombo;

import java.util.List;

/**
 * 算力订单详情
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-10 22:06:11
 */
public interface OrderProductHrComboDetailsService extends IService<OrderProductHrComboDetails> {

    List<OrderHrComboDetailsRep> getOrderHrComboDetailsByOrderId(Integer orderId);

    void createOrderDetail(ProductHrCombo hashRateCombo, Integer num, OrderProductHrCombo order);

    OrderProductHrComboDetails updateHrComboInterval(Integer orderId);

}

